<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   xmlns:f="http://xmlns.jcp.org/jsf/core"
   xmlns:h="http://xmlns.jcp.org/jsf/html"
   xmlns:p="http://primefaces.org/ui"   
   xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
   template="/WEB-INF/templates/business/buyer/template.xhtml">
   
   	<f:metadata>	   	
	   	<f:viewParam name="firstResult" value="#{buyerCancelApplyRejectTaskList.firstResult}"></f:viewParam>	
	   	<f:viewParam name="processKey" value="#{buyerCancelApplyRejectTaskList.processKey}"></f:viewParam>
   	</f:metadata>
   
   	<ui:define name="buyer_content">
   
		<h:form id="searchForm">
			<div class="iethbox_tit">
				<h2>被驳回的取消报名的申请</h2>
			</div>
			
			<div class="iethbox_table">				
				<p:dataTable value="#{buyerCancelApplyRejectTaskList.resultList}" var="_task">
					<p:column >
						<f:facet name="header">审批环节</f:facet>
						<h:outputText value="#{_task.name}" />
					</p:column>
					<p:column >
						<f:facet name="header">审批项目名称</f:facet>
						<h:outputText value="#{_task.processVariables['projectName']}" />
					</p:column>					
					<p:column >
						<f:facet name="header">被取消报名的中介</f:facet>
						<h:outputText value="#{_task.processVariables['supplierName']}" />
					</p:column>
					<p:column >
						<f:facet name="header">审核意见</f:facet>
						<h:outputText value="#{_task.processVariables['adminRejectReason']}" />
					</p:column>
					<p:column width="120">
						<f:facet name="header">操作</f:facet>
						<p:button value="重新提交" outcome="CancelApplyResubmit.xhtml">
							<f:param name="tradeId" value="#{_task.processVariables['tradeId']}"></f:param>
							<f:param name="bulletinId" value="#{_task.processVariables['bulletinId']}" ></f:param>
							<f:param name="taskId" value="#{_task.id}"></f:param>
						</p:button>
					</p:column>
				</p:dataTable>
			</div>
			
		</h:form>
      
   	</ui:define>
</ui:composition>
